#ifndef MAIN_H_INCLUDED
#define MAIN_H_INCLUDED

//******************************************************************************
// UNIVERSAL INCLUDES
//******************************************************************************

#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

#include "bsp.h" // this must supply printf functionality for the target

#include "co.h"
#include "evq.h"
#include "comp.h"

#define GREATEST_USE_TIME 0
#include "greatest.h"

//******************************************************************************
// MACRO DEFINITIONS
//******************************************************************************

#ifndef S
#define S(X) ((sizeof(X)) / (sizeof(X[0])))
#endif
#ifndef UNUSED
#define UNUSED(X) ((void)(X))
#endif

#define STACK_SIZE  256

#endif //MAIN_H_INCLUDED
